$(function(){
	var cityNo = getQueryStr("cityNo"); //城市ID 
	$.ajax({
		type: "post",
		url: "/dingding-web/sharePlanAction!getSharePlanList.action",
		dataType: "jsonp",
		async: false,
		jsonp: "callback",
		jsonpCallback: "success_jsonp",
		data: {
			cityNo:cityNo
		},
		success:function(data){
			console.log(data);
			
			var tpl = document.getElementById("tpl").innerHTML;
  			var html =juicer(tpl,data.responseBody);
  			$("body").html(html);
		}
	});

	var userId = getQueryStr("userId");//上线改
	$(document).on("click",".content-list",function(){
		var activityId = $(this).attr("data-bitId");
		window.location.href = "/dingding-web/renteqsale/base_index.html?bizId=" + activityId + "&userId=" + userId +"&identifyId=999"+"&cityNo="+ cityNo;
	})
});

